package com.onesports.intelligent.k12.polarlight.domain.dto.sys;

import com.onesports.framework.kit.common.valid.Length;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DictSelectDTO {

    @ApiModelProperty(value = "字典名称")
    @Length(max = 50,message = "字典名称不能超过50位")
    private String name;

    @ApiModelProperty(value = "大类值")
    @Length(max = 50,message = "大类值不能超过50位")
    private String code;

}
